package SHServer;



import javax.swing.*;




import java.awt.Toolkit;

public class PopUp extends JFrame {
	public JLabel errLabel;
	
	public PopUp( String err_string) {
		super();
		getContentPane().setLayout(null);
		
		errLabel = new JLabel(err_string);
		errLabel.setBounds(10, 129, 300, 14);
		getContentPane().add(errLabel);
		
		
		JLabel lblIcon = new JLabel(new ImageIcon("C:\\Users\\BERDUGO\\workspace\\simplechat1\\src\\icons\\error-icon.png"));
		lblIcon.setBounds(10, 11, 137, 107);
		lblIcon.setOpaque(true);
		getContentPane().add(lblIcon);

		this.setVisible(true);
	}
}
